
#ifndef __GEOMETRY_BASE_H__
#define __GEOMETRY_BASE_H__

/******************************************************************************\
*
* OpenGL
*
\******************************************************************************/

#ifdef OPENGL

/*
 */
#include <VCommon.h>

/* geometry out
 */
out float4 s_texcoord_0;
out float4 s_texcoord_1;
out float4 s_texcoord_2;
out float4 s_texcoord_3;
out float4 s_texcoord_4;
out float4 s_texcoord_5;
out float4 s_texcoord_6;
out float4 s_texcoord_7;
out float4 s_texcoord_8;
out float4 s_texcoord_9;
out float4 s_texcoord_10;

/* vertex transformation
 */
float4 getPosition(float4 vertex) {
	return mul4(s_projection,vertex);
}

/******************************************************************************\
*
* Direct3D11
*
\******************************************************************************/

#elif DIRECT3D11

/*
 */
#include <VCommon.h>

/* vertex transformation
 */
float4 getPosition(float4 vertex) {
	return mul4(s_projection,vertex);
}

#endif

#endif /* __GEOMETRY_BASE_H__ */
